<aside id="sidebar" class="four columns">
                    	<div class="padsidebar">
                        <ul>
                            <li class="widget-container">
                                <h2 class="widget-title">Search</h2>
                                <form action="lists/search" id="searchform" method="get">
                                    <div class="bgsearch">
	                                    <input type="text" id="s" name="keywords">
	                                    <input type="submit" value='' class="searchbutton">
                                    </div>
                                </form>
                            </li>
                            <li class="widget-container">
                                <h2 class="widget-title">分类列表</h2>
                                <ul>
                                	{{category}}
                                    <li><a href="{{$field['url']}}">{{$field['cname']}}</a></li>
                                    {{endcategory}}
                                </ul>
                            </li>
                            <li class="widget-container">
                                <h2 class="widget-title">博文排行榜</h2>
                                <ul class="rp-widget">
                                	{{article limit="5" order="click"}}
                                    <li>
                                        <div class="postimg"><img src="{{__ROOT__}}/{{$field['thumb']}}"  /></div>
                                        <h3><a href="l_ct_{{$field['aid']}}.html">{{$field['title']}}</a></h3>
                                        <span class="smalldate">{{date('Y-m-d',$field['sendtime'])}}</span>
                                        <span class="clear"></span>
                                    </li>
                                    {{endarticle}}
                                 </ul>
                            </li>
                           
                        </ul>
                        </div>
</aside>